#ifndef ENGINERRINGMODEL_H_
#define ENGINERRINGMODEL_H_

#include "common_opr_all.h"
#include "data_build.h"
#include <eventcommand.h>

namespace DcAdr
{
    class SoaEnginerringModel: public EventCommand
    {
    public:
        static SoaEnginerringModel &getInstance();
        void Cnr_StopTask(const std::string &topic, const std::string &requestData, std::string &replyData);
        void RR_SyncCalibrationFile(const std::string &topic, const std::string &requestData, std::string &replyData);

        //读取标定文件
        uint8_t getCalibrationFile();
        //标定文件上云
        void calibrationFileUpload();
    private:
        SoaEnginerringModel();
        ~SoaEnginerringModel();

        // 标定文件时间后缀
        std::string calibrationFileTime;
        // 标定文件名和路径
        std::string fileName;
        std::string filePath;
    };
}

#endif //ENGINERRINGMODEL_H_